<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      body {
        display: flex;
        place-content: center;
      }
      .box {
        width: 800px;
        height: 1200px;
        border: solid;
        background-image: url("https://gitee.com/jackwyyforever/images/raw/master/img/20220217010309.jpeg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        /* background-attachment: fixed; */
      }
    </style>
  </head>
  <body>
    <div class="box"></div>
  </body>
</html>
